package com.sftz.assets.entities.grade;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

@Data
@Table("grade_study_data")
public class GradeStudyDataEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id(auto = true)
	private Integer id;

	@Column
	@Comment("用户Id")
	private Integer userId;

	@Column
	@Comment("课程Id")
	private Integer courseId;

	@Column
	@Comment("课程章")
	private Integer chapterId;

	@Column
	@Comment("课程节")
	private Integer jointId;

	@Column
	@Comment("开始时间")
	private Date startTime;

	@Column
	@Comment("结束时间")
	private Date finishTime;

	@Column
	@Comment("学习时长")
	private Double studyLongTime;

	@Column
	@Comment("学习类型(音频或视频)")
	private Integer studyType;

	@Column
	@Comment("视频观看完整度")
	private Double videoViewingIntegrity;

}